void CRectTestView::OnDraw(CDC* pDC)
{
	CRectTestDoc* pDoc = GetDocument();
	ASSERT_VALID(pDoc);
	// TODO: add draw code for native data here
	pDC->Rectangle(m_OldRect);
	pDC->Rectangle(m_AddRect);
	pDC->Rectangle(m_NewRect);
    
	char temp[10];
	CString strOldRect = "Old rect is: ";
	itoa(m_OldRect.left,temp,10);
	strOldRect += temp;
	strOldRect += "  ";
	itoa(m_OldRect.top,temp,10);
	strOldRect += temp;
	strOldRect += "  ";
	itoa(m_OldRect.right,temp,10);
	strOldRect += temp;
	strOldRect += "  ";
	itoa(m_OldRect.bottom,temp,10);
	strOldRect += temp;

	CString strAddRect = "Add rect is: ";
	itoa(m_AddRect.left,temp,10);
	strAddRect += temp;
	strAddRect += "  ";
	itoa(m_AddRect.top,temp,10);
	strAddRect += temp;
	strAddRect += "  ";
	itoa(m_AddRect.right,temp,10);
	strAddRect += temp;
	strAddRect += "  ";
	itoa(m_AddRect.bottom,temp,10);
	strAddRect += temp;

	CString strNewRect = "New rect is: ";
	itoa(m_NewRect.left,temp,10);
	strNewRect += temp;
	strNewRect += "  ";
	itoa(m_NewRect.top,temp,10);
	strNewRect += temp;
	strNewRect += "  ";
	itoa(m_NewRect.right,temp,10);
	strNewRect += temp;
	strNewRect += "  ";
	itoa(m_NewRect.bottom,temp,10);
	strNewRect += temp;

	CString strPoint = "Point is: ";
	itoa(m_Point.x,temp,10);
	strPoint += temp;
	strPoint += "  ";
	itoa(m_Point.y,temp,10);
	strPoint += temp;
    
	pDC->TextOut(500,30 ,strOldRect);
	pDC->TextOut(500,50 ,strAddRect);
	pDC->TextOut(500,70 ,strNewRect);
	pDC->TextOut(500,90 ,strPoint);
}
